package com.jt.www.model.registerCustomer.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;


@ApiModel(description = "业绩查询（推广）列表显示字段, 封装实体")
public class AchievementListVO {

    @ApiModelProperty(value = "分支机构编码")
    private String branchCode;

    @ApiModelProperty(value = "分支机构名称")
    private String branchName;

    @ApiModelProperty(value = "推广人名称")
    private String promoterName;

    @ApiModelProperty(value = "推广人账号")
    private String promoterAccount;

    @ApiModelProperty(value = "被推广人账号")
    private String offlineAccount;

    @ApiModelProperty(value = "保单号")
    private String policyNo;

    @ApiModelProperty(value = "产品编码")
    private String productCode;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "投保日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date applicantDate;

    @ApiModelProperty(value = "实付保费")
    private BigDecimal actualPrem;

    @ApiModelProperty(value = "投保人名称")
    private String holderName;

    @ApiModelProperty(value = "被保险人名称")
    private String insuredName;

    @ApiModelProperty(value = "被保险人所在地")
    private String insuredLocation;

    @ApiModelProperty(value = "保险起期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date polStartDate;

    @ApiModelProperty(value = "保险止期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date polEndDate;

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getPromoterName() {
        return promoterName;
    }

    public void setPromoterName(String promoterName) {
        this.promoterName = promoterName;
    }

    public String getPromoterAccount() {
        return promoterAccount;
    }

    public void setPromoterAccount(String promoterAccount) {
        this.promoterAccount = promoterAccount;
    }

    public String getOfflineAccount() {
        return offlineAccount;
    }

    public void setOfflineAccount(String offlineAccount) {
        this.offlineAccount = offlineAccount;
    }

    public String getPolicyNo() {
        return policyNo;
    }

    public void setPolicyNo(String policyNo) {
        this.policyNo = policyNo;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Date getApplicantDate() {
        return applicantDate;
    }

    public void setApplicantDate(Date applicantDate) {
        this.applicantDate = applicantDate;
    }

    public BigDecimal getActualPrem() {
        return actualPrem;
    }

    public void setActualPrem(BigDecimal actualPrem) {
        this.actualPrem = actualPrem;
    }

    public String getHolderName() {
        return holderName;
    }

    public void setHolderName(String holderName) {
        this.holderName = holderName;
    }

    public String getInsuredName() {
        return insuredName;
    }

    public void setInsuredName(String insuredName) {
        this.insuredName = insuredName;
    }

    public String getInsuredLocation() {
        return insuredLocation;
    }

    public void setInsuredLocation(String insuredLocation) {
        this.insuredLocation = insuredLocation;
    }

    public Date getPolStartDate() {
        return polStartDate;
    }

    public void setPolStartDate(Date polStartDate) {
        this.polStartDate = polStartDate;
    }

    public Date getPolEndDate() {
        return polEndDate;
    }

    public void setPolEndDate(Date polEndDate) {
        this.polEndDate = polEndDate;
    }
}
